package com.sicnustray.service.impl;

import com.sicnustray.entity.Notice;
import com.sicnustray.mapper.NoticeMapper;
import com.sicnustray.service.INoticeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yl
 * @since 2022-11-22
 */
@Service
public class NoticeServiceImpl extends ServiceImpl<NoticeMapper, Notice> implements INoticeService {

    @Resource
    NoticeMapper noticeMapper;

    @Override
    public Object getMaxId() {
       return noticeMapper.getMaxId();
    }
}
